//
//  SearchController.h
//  takeout
//
//  Created by Mac on 12-5-16.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AudioToolbox/AudioToolbox.h>
#import "BaseViewController.h"
#import "FMDBSupplierManager.h"
#import "AppDelegate.h"
#import "SupplierCategoryManager.h"
#import "AppDelegate.h"
#import "SupplierManager.h"
@interface SearchController : BaseViewController<UIPickerViewDelegate,UIPickerViewDataSource,UISearchBarDelegate>{
//    NSString *type;
//    FMDBSupplierManager *fmdbSupplierManager;
}
@property (strong, nonatomic) AppDelegate *appDelegate;
@property (strong, nonatomic) UISearchBar *searchBarCustom;
@property (strong, nonatomic) UIButton *directBtn;
@property (strong, nonatomic) UIButton *detailBtn;
@property (strong, nonatomic) UIView *directSearchView;
@property (strong, nonatomic) UIView *detailSearchView;
@property (strong, nonatomic) NSString *address;
@property (strong, nonatomic) NSString *time;
//@property (strong, nonatomic) SupplierManager *manager;
//@property int currentPage;
//@property (strong, nonatomic) NSArray *suppliers;
@property (strong, nonatomic) NSString *isSelling;
@property (strong, nonatomic) NSArray *addTestData;
@property (strong, nonatomic) NSMutableArray *typeTestData;
@property (strong, nonatomic) NSArray *timeTestData;
@property BOOL isTouched;

@end
